<?php 
$this->renderToPlaceholder('functions.phtml', 'sidebar');

$this->placeholder('sidebar')->append(
'<h2 class="title">Filtrar</h2>
<div class="paginatorFilters">
<form>
	<label>Resultados por página</label>
	'.$this->filterNumRows().'
	<br />
	<br />
	
	<a rel="nofollow, noindex" class="button redButton" id="Aplicar" name="Aplicar" href="#"><span>Aplicar</span></a>
	
</form>
</div>'

);

echo '<h2 class="title">Usuarios</h2>';

echo $this->render('users/users.phtml');

$this->jQuery()->onLoadCaptureStart();
?>

$paginatorOrders = { 
	1: "userId",
	2: "email",
	3: "name",
	4: "surname",
	5: "birthdate",
	6: "sex",
	7: "type",
	8: "cityId"
};
	
bindPaginate( "<?php echo $this->url(array('controller'=>'users'))?>" );
				
<?php $this->jQuery()->onLoadCaptureEnd();?>